package com.mtnz.njk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description: 商品活动阈值实体类
 * @Author: FBL
 * @CreateDate: 2019\8\15 0015 11:48
 * @Version: 1.0
 */
@Data
@Table(name = "product_active_threshold")
public class ProductActiveThresholdEntity {
    @Id
    @Column(name = "threshold_id")
    private Integer thresholdId;
    @Column(name = "active_type_id")
    private Integer activeTypeId;
    @Column(name = "active_name")
    private String activeName;
    @Column(name = "threshold_one")
    private Integer thresholdOne;
    @Column(name = "threshold_two")
    private Integer thresholdTwo;
    @Column(name = "threshold_three")
    private Integer thresholdThree;
    @Column(name = "begin_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    @Column(name = "end_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @Column(name = "sms_text")
    private String smsText;
    @Column(name = "remind_text")
    private String remindText;
    @Column(name = "sms_flag")
    private Integer smsFlag;
    @Column(name = "remind_flag")
    private Integer remindFlag;
    // 换购使用商品规格id
    @Column(name = "trad_remark_id")
    private String tradRemarkId;
    @Column(name = "threshold_explain")
    private String thresholdExplain;




}
